package com.tjetc.service;

import com.tjetc.entity.Order;
import com.tjetc.entity.view.DailyBillView;
import com.tjetc.entity.view.MerchantFinanceView;

import java.time.LocalDate;
import java.util.List;
//商家财务功能业务类
public interface MerchantFinanceService {
    //获得营业额统计
    MerchantFinanceView getAmountStatistic(Integer merchantId);
    //获得每日账单统计
    DailyBillView getDailyBill(Integer merchantId, LocalDate beginDate,LocalDate endDate);
    //获得当日的所有订单
    List<Order> getOrdersByDay(Integer merchantId,LocalDate date);
}
